<%-- 
    Document   : BNacimiento
    Created on : 11-oct-2013, 14:27:54
    Author     : pavel
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="com.ptr.ptrsystem.bean.Persona"%>
<%@page import="com.ptr.ptrsystem.servlet.MantenimientoNacimientoServlet"%>
<%@page import="java.util.LinkedList"%>
<%@page language="java"%>
<!DOCTYPE html>
<html>
    <head>
        <link rel="shortcut icon" href="./imagenes/LOGO-PTRSYSTEM.ico" type="image/x-icon"/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="Expires" content="0"/>
        <meta http-equiv="Pragma" content="no-cache"/>  
        <link rel="stylesheet" type="text/css" href="/RegCivil/css/estilos.css">
        <title>Sistema Registros Civiles</title>
        <script type="text/javascript">
         {
            if(history.forward(1))
            location.replace(history.forward(1))
         }
        </script>
    </head>
    <body>
        <table align="center" border="0" cellspacing="0" cellpadding="0" style="margin-top:20px;width: 880px;text-align: center;" class="contacto">
            <tr><td>                    
                    <fieldset style="alignment-baseline: central;margin-left: auto;margin-right: auto;" >
                        <legend style="border: 1px solid #dce0e3;background-color: #edf1f5">
                            BUSQUEDA DE NACIMIENTO</legend>
                        <table border="0">
                            <tr>
                                <td>
                                    <form action="${pageContext.request.contextPath}/MantenimientoListas" method="">
                                        <table border="0">
                                            <tr>
                                                <td><label style="width:120px;text-align: right;padding-right: 10px;"/>Forma De Busqueda </td>
                                                <td><select name="Tbus" style="padding: 7px 6px;
                                                        width: 170px;
                                                        border: 1px solid #CED5D7;
                                                        resize: none;
                                                        box-shadow:0 0 0 3px #EEF5F7;
                                                        margin: 5px 0;
                                                        text-transform: uppercase;">
                                                        <option value="0" selected="0">Tipo de Busqueda</option>
                                                        <option value="1">Nro CUI</option>
                                                        <option value="2">Nro Acta</option>
                                                        <option value="3">Datos Personales</option>
                                                        <option value="4">Ubigeo</option>
                                                    </select>
                                                </td>
                                                <td><button value='BuscaListaNac' name="btn1" id="BtonNac" style="width: 160px; height: 40px;background-color:#f8f8f8"><img src="/RegCivil/imagenes/buscar.png">Buscar</button></td>
                                            </tr>
                                            <tr>
                                                <td><label style="width:100px ;text-align: right;padding-right: 40px;"/>Numero de CUI</td>
                                                <td><input type='text' name='cui' id='txt_ncui' style='width:100px;' maxlength="8"></td>
                                                <td><label style="width:60px;text-align: right;padding-right: 40px;" />Nro Acta</td>
                                                <td><input type='text' name='NActa' id='txt_nlib' style='width:100px;'></td>
                                                <td colspan="2">
                                                    <button type=button onclick="JavaScript:location.href='/RegCivil/main.jsp';" style='width:12.0em; heigth:10em; background-color: #eeeeee;border: 1px solid #9cafff;border-radius: 7px 7px 7px 7px;'><img src='/RegCivil/imagenes/return.png' width="25px">Retornar</button>
                                                </td>
                                                <td><div id="NubigeoOR"></div></td>
                                            </tr>
                                            <tr>
                                                <td><label style="width:120px;text-align: right;padding-right: 10px;"/>Primer Apellido</td>
                                                <td><input type='text' name='PApe' id='txt_PapePat'  style='width:100px;'></td>
                                                <td><label style="width:120px;text-align: right;padding-right: 10px;"/>Segundo Apellido</td>
                                                <td><input type='text' name='Sape' id='txt_Sape'  style='width:100px;'></td>
                                                <td><label style="width:100px;text-align: right;padding-right: 10px;"/>PreNombre(s)</td>
                                                <td><input type='text' name='Pnom' id='txt_Pnom'  style='width:100px;border: 1px solid #fdfbf5'></td>
                                            </tr>
                                        </table>
                                     </form>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%String msj=(String)request.getAttribute("msj");
                                   if(msj!=null)
                                   {
                                            if(msj=="1"){%>
                                            <div>
                                                <fieldset style="border-radius: 10px 10px 10px 10px; background-color: #fff5f6;border:1px solid #f57269">
                                                    <legend style="border-radius: 10px 10px 10px 10px; background-color: #fff5f6;border:1px solid #f57269"><img src="/RegCivil/imagenes/exclamation.png"> </legend>
                                                    <label>Error! verifique los datos ingresados</label>
                                                </fieldset>
                                            </div>
                                            <%}%>
                                    <%}else{%>
                                    <div>
                                        <fieldset style="border-radius: 10px 10px 10px 10px; background-color: #fffbe7;border:1px solid #ffe954">
                                            <label style="color:#edd00c; font-size: 1.0em ">Informacion de Almacenamiento</label>
                                        </fieldset>
                                    </div>
                                    <%}%>
                                    </td>
                            </tr>
                        </table>
                    </fieldset>
                </td>
            </tr>
            <tr><td>
                </td>
                </tr>
        </table>
    </body>
</html>
